package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ExpendItem;
import cn.wolfcode.crm.query.ExpendItemQuery;

import java.math.BigDecimal;
import java.util.List;

public interface ExpendItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExpendItem record);

    ExpendItem selectByPrimaryKey(Long id);

    List<ExpendItem> selectAll();

    int updateByPrimaryKey(ExpendItem record);

    int queryCount(ExpendItemQuery qo);

    List<ExpendItem> queryList(ExpendItemQuery qo);

    BigDecimal selectTotalAmount();
}